﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200036B RID: 875
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DAFBNEPHGDM : IMessage<DAFBNEPHGDM>, IMessage, IEquatable<DAFBNEPHGDM>, IDeepCloneable<DAFBNEPHGDM>, IBufferMessage
	{
		// Token: 0x17000B56 RID: 2902
		// (get) Token: 0x0600274B RID: 10059 RVA: 0x0006E17E File Offset: 0x0006C37E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DAFBNEPHGDM> Parser
		{
			get
			{
				return DAFBNEPHGDM._parser;
			}
		}

		// Token: 0x17000B57 RID: 2903
		// (get) Token: 0x0600274C RID: 10060 RVA: 0x0006E185 File Offset: 0x0006C385
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DAFBNEPHGDMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000B58 RID: 2904
		// (get) Token: 0x0600274D RID: 10061 RVA: 0x0006E197 File Offset: 0x0006C397
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DAFBNEPHGDM.Descriptor;
			}
		}

		// Token: 0x0600274E RID: 10062 RVA: 0x0006E19E File Offset: 0x0006C39E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DAFBNEPHGDM()
		{
		}

		// Token: 0x0600274F RID: 10063 RVA: 0x0006E1A6 File Offset: 0x0006C3A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DAFBNEPHGDM(DAFBNEPHGDM other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002750 RID: 10064 RVA: 0x0006E1BF File Offset: 0x0006C3BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DAFBNEPHGDM Clone()
		{
			return new DAFBNEPHGDM(this);
		}

		// Token: 0x06002751 RID: 10065 RVA: 0x0006E1C7 File Offset: 0x0006C3C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DAFBNEPHGDM);
		}

		// Token: 0x06002752 RID: 10066 RVA: 0x0006E1D5 File Offset: 0x0006C3D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DAFBNEPHGDM other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06002753 RID: 10067 RVA: 0x0006E1F4 File Offset: 0x0006C3F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002754 RID: 10068 RVA: 0x0006E21A File Offset: 0x0006C41A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002755 RID: 10069 RVA: 0x0006E222 File Offset: 0x0006C422
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002756 RID: 10070 RVA: 0x0006E22B File Offset: 0x0006C42B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002757 RID: 10071 RVA: 0x0006E244 File Offset: 0x0006C444
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002758 RID: 10072 RVA: 0x0006E26A File Offset: 0x0006C46A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DAFBNEPHGDM other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002759 RID: 10073 RVA: 0x0006E287 File Offset: 0x0006C487
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600275A RID: 10074 RVA: 0x0006E290 File Offset: 0x0006C490
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000FC0 RID: 4032
		private static readonly MessageParser<DAFBNEPHGDM> _parser = new MessageParser<DAFBNEPHGDM>(() => new DAFBNEPHGDM());

		// Token: 0x04000FC1 RID: 4033
		private UnknownFieldSet _unknownFields;
	}
}
